import requestService from "../service/request";
const Api = {
  list: "/finance/financeList",
  recharge: "/finance/alipayRecharge",
};

//获取资金明细列表
export function fundList(data) {
  return requestService(Api.list, {
    type: "post",
    data,
  });
}
//充值接口
export function AddMoney(data) {
  return requestService(Api.recharge, {
    type: "post",
    paramsFormdata: "application/x-www-form-urlencoded",
    data,
  });
}